package com.example.riseofthedefender;

import android.content.Context;
import android.opengl.GLSurfaceView;
import android.view.SurfaceHolder;

public class GlSurfaceView extends GLSurfaceView{

	public GameInput gameInput;
	@Override
	public void surfaceCreated(SurfaceHolder holder) {
		super.surfaceCreated(holder);        
		gameInput = new GameInput();
		setOnTouchListener(gameInput);
        setClickable(true);
        setEnabled(true);
        setFocusable(true);
        setFocusableInTouchMode(true);
	}

	public GlSurfaceView(Context context) {
		super(context);
	}

}
